<h2 class="dialog_title"><span>Dokumen</span></h2>
<div class="dialog_content" style="width:600px;">
	<table width="100%" height="400px">
    	<tr style="padding-top:20px 0">
        	<td align="center"><a target="_blank"><img id="perbuatan-img-view" style="max-width:100%; max-height:400px" title="Click to enlarge" /></a></td>
        </tr>
        <tr align="center" height="20px">
        	<td>
            	<a style="margin-right:20px" onclick="
                if (APP.imgFileNumber>0) {
                    APP.imgFileNumber--;
					perbuatan_dokument_image(<?php echo $deperbNO?>);
                }">Previous</a>
            <?php $cc =mysql_fetch_assoc( mysql_query("SELECT COUNT(*) as COUNT FROM dokumen WHERE DETPERB_NO='$deperbNO'") )?>
            <a onclick="
                if (APP.imgFileNumber<<?php echo $cc['COUNT']-1?>) {
                    APP.imgFileNumber++;
                   	perbuatan_dokument_image(<?php echo $deperbNO?>);
                }">Next</a>
            </td>
        </tr>
    </table>
</div>
<div class="dialog_buttons">
    <input type="button" name="back" value="Close" onclick="FBModal_hide()">
</div>